<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>新增input类型</title>
  <style>
    input::placeholder {
      color: pink;
    }
  </style>
</head>

<body>
  <form action="">
    <ul>
      <li>数量: <input type="number" /></li>
      <li>手机号码: <input type="tel" /></li>
      <li>搜索: <input type="search" placeholder="请输入搜索内容..." /></li>

      <li>邮箱: <input type="email" /></li>
      <li>网址: <input type="url" /></li>
      <li>日期: <input type="date" /></li>
      <li>时间: <input type="time" /></li>
      <li>月份: <input type="month" /></li>
      <li>星期: <input type="week" /></li>

      <li>颜色: <input type="color" /></li>
    </ul>
    <div class="div">
      <input type="submit" value="提交">
    </div>
  </form>
</body>

</html>